//
//  RMMLoginTiShiView.m
//  Romomo
//
//  Created by puman on 2016/12/20.
//  Copyright © 2016年 mazegong. All rights reserved.
//

#import "RMMLoginTiShiView.h"

@interface RMMLoginTiShiView ()<UIAlertViewDelegate>

@end
@implementation RMMLoginTiShiView
- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.6];
        UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"提示" message:@"为了给您提供更好,更优质的服务,请您先前往进行登录" delegate:self cancelButtonTitle:@"取消" otherButtonTitles:@"前往", nil];
        [alertView show];
    }
    return self;
}
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{
    if (buttonIndex == 1) {
    
    }
}
+ (void)viewShow{
    
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
